package com.upf1sh.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 注射机器人
 * @TableName iniection_robot
 */
@TableName(value ="injection")
public class IniectionRobot implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 猪只编号
     */
    private String pigId;

    @TableField(exist = false)
    private int pageNum;

    @TableField(exist = false)
    private int pageSize;

    /**
     * 栏位编号
     */
    private String pigFiel;

    /**
     * 身份
     */
    private String pigCard;

    /**
     * 状态
     */
    private Long status;

    /**
     * 注射时间
     */
    private String injectionTime;

    /**
     * 药品类型
     */
    private String injectionType;

    /**
     * 注射计量
     */
    private Double injectionDose;

    /**
     * 图片路径
     */
    private String image;


    /*创建时间*/
    private Date createTime;

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 猪只编号
     */
    public String getPigId() {
        return pigId;
    }

    /**
     * 猪只编号
     */
    public void setPigId(String pigId) {
        this.pigId = pigId;
    }

    /**
     * 栏位编号
     */
    public String getPigFiel() {
        return pigFiel;
    }

    /**
     * 栏位编号
     */
    public void setPigFiel(String pigFiel) {
        this.pigFiel = pigFiel;
    }

    /**
     * 身份
     */
    public String getPigCard() {
        return pigCard;
    }

    /**
     * 身份
     */
    public void setPigCard(String pigCard) {
        this.pigCard = pigCard;
    }

    /**
     * 状态
     */
    public Long getStatus() {
        return status;
    }

    /**
     * 状态
     */
    public void setStatus(Long status) {
        this.status = status;
    }

    /**
     * 注射时间
     */
    public String getInjectionTime() {
        return injectionTime;
    }

    /**
     * 注射时间
     */
    public void setInjectionTime(String injectionTime) {
        this.injectionTime = injectionTime;
    }

    /**
     * 药品类型
     */
    public String getInjectionType() {
        return injectionType;
    }

    /**
     * 药品类型
     */
    public void setInjectionType(String injectionType) {
        this.injectionType = injectionType;
    }

    /**
     * 注射计量
     */
    public Double getInjectionDose() {
        return injectionDose;
    }

    /**
     * 注射计量
     */
    public void setInjectionDose(Double injectionDose) {
        this.injectionDose = injectionDose;
    }

    /**
     * 图片路径
     */
    public String getImage() {
        return image;
    }

    /**
     * 图片路径
     */
    public void setImage(String image) {
        this.image = image;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", pigId=").append(pigId);
        sb.append(", pigFiel=").append(pigFiel);
        sb.append(", pigCard=").append(pigCard);
        sb.append(", status=").append(status);
        sb.append(", injectionTime=").append(injectionTime);
        sb.append(", injectionType=").append(injectionType);
        sb.append(", injectionDose=").append(injectionDose);
        sb.append(", image=").append(image);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}